<%@ page pageEncoding='UTF-8'%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<s:set var="contextPath" value="#request.get('javax.servlet.forward.context_path')" scope="request" />
<!DOCTYPE html>
<head>
    <title>Update Assistant</title>
    <%-- header --%>
    <jsp:include page="/WEB-INF/content/common/Header.jsp" flush="true"/>
</head>
<body class="metro">
	<%-- tob-bar --%>
    <jsp:include page="/WEB-INF/content/common/TopBar.jsp" flush="true"/>
       	
	<div id="main-container" class="body-wrapper">
        <%-- tob-container --%>
    	<jsp:include page="/WEB-INF/content/common/TopContainer.jsp" flush="true"/>
        
    	<div id="body-container">
        	<div id="assistant-update-container" class="detail-container">
                <legend>Patient Details</legend>
                <div>
                    <label>Name</label>
                    <p class="text-success">${guiAssistant.name}</p>
                </div>
                 <div>
                    <label>Type</label>
                    <p class="text-success">Assistant</p>
                </div>
                 <div>
                    <label>Qualification</label>
                    <p class="text-success">${guiAssistant.qualifications}</p>
                </div>
                 <div>
                    <label>Other</label>
                    <p class="text-success">${guiAssistant.others}</p>
                </div>
                 <div>
                    <label>Admin</label>
                    <p class="text-success">${guiAssistant.admin ? "Yes" : "No"}</p>
                </div>
                <div>
                    <a href="${contextPath}/assistant/registration" class="button primary">Add New</a>
                    <a href="${contextPath}/assistant/edit?id=${guiAssistant.userId}" class="button info">Edit</a>
                </div>
    		</div>    
    	</div>
        
        <%-- bottom-container --%>
    	<jsp:include page="/WEB-INF/content/common/BottomContainer.jsp" flush="true"/>
        
	</div>
    
    <%-- footer-container --%>
    <jsp:include page="/WEB-INF/content/common/FooterContainer.jsp" flush="true"/>
    
</body>
</html>

